﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace vs2017test000
{
    class Program
    {
        static void Main(string[] args)
        {
            using (TextWriter writer = File.CreateText("TextWriter.txt"))
            {
                writer.WriteLine("Hello C#, TextWriter");
                writer.WriteLine("C# File Handling by Yiibai.com");
                Console.WriteLine("写入成功！！！");
            }
            Console.WriteLine("Data written successfully...");//原文出自【易百教程】，商业转载请联系作者获得授权，非商业请保留原文链接：https://www.yiibai.com/csharp/c-sharp-textwriter.html

            string readline = Console.ReadLine();
            Console.WriteLine("读入:"+readline);
            Console.ReadLine();
            // 本地递交00

            // 本地递交001

            // 本地递交002
        }
    }
}
